package com.example.geckohurricanes;

import junit.framework.Assert;
import junit.framework.TestCase;

import org.junit.Test;

public class LogInTest extends TestCase {

	User u = new User("admin", "admin");
	User a = new User("admin", "ashen");
	User b = new User("ashen", "admin");
	User c = new User("admin", "admin");
	
	
	@Test
	public void testUserEquals() {
		Assert.assertEquals("User u does not equal User a: ", u.equals(a));
		Assert.assertEquals("User u does not equal User a: ", u.equals(b));
		Assert.assertEquals("User u equals User b: ", u.equals(c));
	}
}
